package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CustomerDialog;
import com.isunland.managesystem.entity.StageDefinePropertyOriginal;

/**
 * Created by lenovo on 2016/7/4.
 */
public class StageDefinePropertyDetailActivity extends SingleFragmentActivity {
  private StageDefinePropertyOriginal.StageDefinePropertyContent content;
  private CustomerDialog extContent;

  @Override protected Fragment createFragment() {
    content =
        (StageDefinePropertyOriginal.StageDefinePropertyContent) getIntent().getSerializableExtra(
            StageDefinePropertyDetailFragment.EXTRA_CONTENT);
    extContent = (CustomerDialog) getIntent().getSerializableExtra(
        StageDefinePropertyDetailFragment.EXTRA_VALUE);
    return StageDefinePropertyDetailFragment.newInstence(content, extContent);
  }
}
